package com.doyoulike.dao.primary;

import com.doyoulike.entity.GenTable;
import com.doyoulike.entity.GenTableColumn;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 表字段DAO接口
 * @author 独舟
 * @version 2020-03-20
 */
@Repository
public interface GenTableColumnDao{

    List<GenTableColumn> findListByTableName(@Param("tableName") String tableName);

    Integer inserts(List<GenTableColumn> genTableColumn);

    Integer deleteByGenTableName(@Param("genTableName") String genTableName);

    Integer deleteByGenTableNameList(List<String> genTableNames);

}